

package examples.minimal;

import commandz.cli.*;
import java.util.Collection;


/**
 *  Command that prints a line of text to the standard output-stream.
 *
 *  @see Command
 */
public final class HelloCommand implements Command
{
    public String getName()
    {
        return "hello";
    }

    public String getDescription()
    {
        return "Prints the magic words..";
    }

    public void publishParameters(Collection<Parameter> params)
    {
        // This command requires no parameters.
    }

    public void execute()
    {
        System.out.println("Hello World!");
    }
}
